<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>商家合单设置</title>
  </head>
  
  <body>
   <section class="content">
<div class="row">
		<div class="col-md-12">

			<!-- Primary box -->
			<div class="box box-solid box-primary">
				<div class="box-header">
					<i class="fa fa-edit"></i>
					<h3 class="box-title">商家合单设置</h3>
					<div class="box-tools pull-right">
						<button class="btn btn-primary btn-sm" data-widget="collapse">
							<i class="fa fa-minus"></i>
						</button>
					</div>
				</div>
				<div class="box-body">
  <form id="inputForm" action="${ctx}/v2/customersOrdenoSource/${action}" method="post" class="form-horizontal">
			<input type="hidden" name="customerCode" value="${customers.customerCode}" />
			<c:if test="${customersOrdenoSource ne null }">
			   <input type="hidden" name="id" value="${customersOrdenoSource.id}" />
			</c:if>
			<fieldset>
				<div class="form-group row">
					<label for="username" class="col-sm-3 control-label">
						商家名称:
					</label>
					<div class="col-sm-6">
						<input type="text" value="${customers.customerName}" class="form-control input-large required" readonly="readonly"/>
					</div>
				</div>
				
				  <div class="form-group row">
					<label for="areagroupLists" class="col-sm-3 control-label">
						平台组合:
					</label>
					<div class="col-sm-6">
						<select id="shopCodeLists" name="shopCodeLists"  multiple="multiple" class="form-control" >
							<c:forEach items="${orderSources}" var="obj">
								<option value="${obj.ordenoSourceCode }"> ${obj.ordenoSourceName } </option>
							</c:forEach>
						</select>
					</div>
				</div>
				
			    <div class="form-group row">
					<label for="areagroupLists" class="col-sm-3 control-label">
						合单条件:
					</label>
					<div class="col-sm-6">
						<select id="mergeLists" name="mergeLists"  multiple="multiple" class="form-control">
							<option value="addres">收件人详细地址</option>
							<option value="recena">收件人名称</option>
							<option value="mobile">收件人手机号码</option>
                        </select>
					</div>
				</div>
				
				<div class="modal-footer bg-gray">
					<input id="submit_btn" class="btn btn-primary" type="submit" value="提交" />
					<input id="cancel_btn" class="btn" type="button" value="返回" onclick="history.back()" />
				</div>
			</fieldset>
		</form>
		</div>
		</div>
		</div>
		</div>
		</section>
  </body>
</html>
